-- GENERATED SPELL FOR [Witherbark Zealot] --


function spell0_2650(pUnit, Event) --@Enrage,Self--
pUnit:FullCastSpellOnTarget(8599,pUnit)
pUnit:RegisterEvent('Sorts_2650', 514, 1)
end

function Sorts_2650(pUnit, Event)
local choix_sorts_2650 = math.random(0, 0)
if choix_sorts_2650 == 0 then
pUnit:RegisterEvent('spell0_2650', 1, 1)
end
end

function mob2650_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_2650', math.random(1500, 3000), 1)
end

function mob2650_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob2650_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob2650_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(2650, 1, 'mob2650_Action')
RegisterUnitEvent(2650, 2, 'mob2650_Leave')
RegisterUnitEvent(2650, 3, 'mob2650_Kill')
RegisterUnitEvent(2650, 4, 'mob2650_Die')
